package cn.topevery.garden.entity.dto;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 *  DTO
 *
 * @author code-generate
 * @date 2022-01-05
 */
@Data
@ApiModel(value = "CriterionEvaluationDTO", description = " DTO")
public class CriterionEvaluationDTO implements Serializable{
    /**
     * 自增id
     */
    private Integer id;

        /** 标准uuid */
    @ApiModelProperty(value = "标准uuid")
    private String criterionId;

    /** 父id */
    @ApiModelProperty(value = "父id")
    private String criterionPid;

    /** 区划id */
    @ApiModelProperty(value = "区划id")
    private String mapId;

    /** 区划名称 */
    @ApiModelProperty(value = "区划名称")
    private String mapName;

    /** 部门id */
    @ApiModelProperty(value = "部门id")
    private String deptId;

    /** 部门名称 */
    @ApiModelProperty(value = "部门名称")
    private String deptName;

    /** 分子 */
    @ApiModelProperty(value = "分子")
    private Float numerator;

    /** 分母 */
    @ApiModelProperty(value = "分母")
    private Float denominator;

    /** 实际值 */
    @ApiModelProperty(value = "实际值")
    private Float realValue;

    /** 单项是否达标 */
    @ApiModelProperty(value = "单项是否达标")
    private Integer isReach;

    /** 多项关联是否达标 */
    @ApiModelProperty(value = "多项关联是否达标")
    private Integer isRealReach;

    /** 年份 */
    @ApiModelProperty(value = "年份")
    private String year;

    /** 考核项数量 */
    @ApiModelProperty(value = "考核项数量")
    private Integer evaluationCount;

    /** 达标数量 */
    @ApiModelProperty(value = "达标数量")
    private Integer reachCount;

    /** 修改时间 */
    @ApiModelProperty(value = "修改时间")
    @JSONField(format="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateDate;



}
